﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace WorkflowEngine.Entitys
{
    public class ActivityTaskInstance : FullAuditedAggregateRoot<Guid>, IMultiTenant
    {
        public ActivityTaskInstance()
        { 
           
        }
        public Guid ActivityInstanceId { get; set; }
        public Guid WorkflowInstanceId { get; set; }
        public Guid WorkTaskId { get; set; }

        public Guid? TenantId { get; set; }
        public void SetTenantId(Guid tennaId) => TenantId = tennaId;

        public virtual WorkTask WorkTask { get; set; }
        public virtual WorkflowInstance WorkflowInstance { get; set; }
        public ActivityInstance ActivityInstance { get; set; }
    }

}
